home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
f90
/
floor.z
/
floor
Wrap
Text File
|
1998-10-30
|
2KB
|
48 lines
FLOOR(3I) Last changed: 1-6-98
NNAAMMEE
FFLLOOOORR - Returns the greatest integer less than or equal to its
argument
SSYYNNOOPPSSIISS
FFLLOOOORR (([AA==]_a))
IIMMPPLLEEMMEENNTTAATTIIOONN
UNICOS, UNICOS/mk, and IRIX systems
SSTTAANNDDAARRDDSS
Fortran 90
DDEESSCCRRIIPPTTIIOONN
The FFLLOOOORR intrinsic function returns the greatest integer less than or
equal to its argument. It accepts the following argument:
_a Must be of type real
FFLLOOOORR is an elemental function. The name of this intrinsic cannot be
passed as an argument.
NNOOTTEESS
On UNICOS systems, both execution speed and the number of bits used in
mathematical operations are affected when compiling with
ff9900 --OO ffaassttiinntt, which is the default setting. For more information on
this, see the _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l,
publication SR-3901.
RREETTUURRNN VVAALLUUEESS
The result is a default integer. The result has value equal to the
greatest integer less than or equal to _a. The result is undefined if
the target machine cannot represent this value in the default integer
type.
EEXXAAMMPPLLEESS
FFLLOOOORR((33..77)) has the value 3. FFLLOOOORR((--33..77)) has the value -4.
SSEEEE AALLSSOO
_C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-3901
_I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
printed version of this man page.